package com.yt.sys.models.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;

/**
 * 权限信息VO
 *
 * @author yzz
 * @Date 2025-10-22 09:47:20
 */
@Data
public class PermissionVO implements Serializable {
    @ApiModelProperty(value = "权限ID（主键）")
    private String id;
    @ApiModelProperty(value = "权限名称（如：查看账单、修改账户）")
    private String permissionName;
    @ApiModelProperty(value = "权限编码（唯一标识，如：bill:view、account:edit）")
    private String permissionCode;
    @ApiModelProperty(value = "权限类型（1-菜单权限，2-按钮权限）")
    private Integer type;
    @ApiModelProperty(value = "权限对应接口/页面路径（如：/api/bill/list）")
    private String url;
    @ApiModelProperty(value = "权限状态（0-禁用，1-启用）")
    private Integer status;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
